//
// Created by twetec on 25-7-13.
//

#ifndef NETWORK_PROBER_DATABASE_FILE_DB_MODEL_H
#define NETWORK_PROBER_DATABASE_FILE_DB_MODEL_H

namespace network_prober::database
{
/**
 * 观测结果
 */
struct ProbeTaskResultModel
{
    std::string id;
    std::string uuid;
    std::int64_t delay;
    std::uint32_t packetLossRate;
    std::int64_t probeTime;

    // 自定义输出
    friend std::ostream& operator<<(std::ostream& out, const ProbeTaskResultModel& result);
};

}

#endif //NETWORK_PROBER_DATABASE_FILE_DB_MODEL_H
